
<title>DouPHP 管理中心 - 权限管理</title>

 <div id="dcMain">
   <!-- 当前位置 -->
<div id="urHere">DouPHP 管理中心<b>></b><strong>权限管理</strong> </div>   <div id="manager" class="mainBox" style="height:auto!important;height:550px;min-height:550px;">
    <h3><a href="index.php?m=admin&c=manager&a=index" class="actionBtn">返回列表</a>权限管理</h3>
            <form action="index.php?m=admin&c=manager&a=jurisdiction" method="post">
     <table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
      <tr>
       <td width="100" align="right">管理员名称</td>
       <td>
        <input type="text" name="username" size="40" value="<?php echo $this->user['username'];?>" class="inpMain" />
       </td>
      </tr>
      <tr>
       <td width="100" align="right">权限</td>
       <td>
       <?php foreach($this->auth as $val):?>
       	
 	        <?php if(in_array($val['id'],$this->userAuth)){?>
	        	<?php echo $val['name'];?>&nbsp;&nbsp;<input name="aid[]" type="checkbox" value="<?php echo $val['id'];?>" checked="checked"/>&nbsp;&nbsp;|
	        <?php }else{?>
	        	<?php echo $val['name'];?>&nbsp;&nbsp;<input name="aid[]" type="checkbox" value="<?php echo $val['id'];?>"/>&nbsp;&nbsp;|
	        <?php }?>
      
       <?php endforeach;?>
       	 </td>
      </tr>
      <tr>
       <td></td>
       <td>
       	<input type="hidden" name="id" value="<?php echo $this->user['id'];?>"/>
        <input type="submit" name="submit" class="btn" value="提交" />
       </td>
      </tr>
     </table>
    </form>
                   </div>
 </div>
 <div class="clear"></div>
